home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
macros
/
latex209
/
contrib
/
dutch
/
artikel3.doc
< prev
next >
Wrap
Text File
|
1994-04-05
|
54KB
|
1,388 lines
%%% ====================================================================
%%% @LaTeX-style-file{
%%% author = "Victor Eijkhout",
%%% maintainer = "Johannes Braams",
%%% version = "1.20c",
%%% date = "05 April 1994",
%%% time = "10:10:42 MET",
%%% filename = "artikel3.doc",
%%% address-1 = "Department of Computer Science
%%% University Tennessee at Knoxville
%%% 104 Ayres Hall
%%% Knoxville, TN 37996
%%% USA",
%%% address-2 = "PTT Research
%%% St. Paulusstraat 4
%%% 2264 XZ Leidschendam
%%% The Netherlands",
%%% telephone-2 = "(70) 3325051",
%%% FAX-2 = "(70) 3326477",
%%% checksum = "10508 1387 6013 53590",
%%% email-1 = "eijkhout@cs.utk.edu"
%%% email-2 = "J.L.Braams@research.ptt.nl (Internet)",
%%% codetable = "ISO/ASCII",
%%% keywords = "LaTeX, documentstyle, article",
%%% supported = "yes",
%%% abstract = "",
%%% docstring = "The checksum field above contains a CRC-16
%%% checksum as the first value, followed by the
%%% equivalent of the standard UNIX wc (word
%%% count) utility output of lines, words, and
%%% characters. This is produced by Robert
%%% Solovay's checksum utility.",
%%% }
%%% ====================================================================
% Artikel3 Document Style, based on:
% ARTICLE STANDARD DOCUMENT STYLE -- Released 14 Jan 1992
% for LaTeX version 2.09
% Copyright (C) 1991 by Leslie Lamport
%
% This style copyright 1989/1990/1991/1992 by Victor Eijkhout
%
\def\styleversion{1.20c}
\def\styledate{4 april 1994}
%
% This uses 'ntg10', 'ntg11', 'ntg12' for pointsize options.
%
% English language is the default, otherwise
% use the 'Dutch' or 'German' option,
% or anything that parametrises using the same names.
%
% \changes{1.18}{91/12/03}{Brought up-to-date with latest article style}
% \changes{1.19}{92/01/14}{Added redefinition of pagestylecommands,
% bug-fix for thebibliography environment,
% and fix writing of unitindent with if@fileswfalse}
% \changes{1.20}{92/01/16}{Brought up-to-date with latest article style}
% \changes{1.20a}{92/02/06}{Small modification to @maketitle macro and
% added definition of \@bibitem for backwards
% compatibility}
% \changes{1.20b}{Added `immediate to the definition of `@writeindent
% added `head@style to definition of `@maketitle
% and replaced `regeltransport with `baselineskip}
% \changes{1.20c}{Adding `headstyle to `@maketitle was wrong for the
% centerred title version because it sets rightskip to
% an inappropriate value}
%
% Options specific to this style:
% 'oldtoc' : switch to the `Lamport' style table of contents
%
% Author:
% Victor Eijkhout
% Department of Computer Science
% University Tennessee at Knoxville
% 104 Ayres Hall
% Knoxville, TN 37996
% USA
%
% eijkhout@cs.utk.edu
%
% Documentation by Johannes Braams and Victor Eijkhout
%
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%% Digits \0\1\2\3\4\5\6\7\8\9
%% Exclamation \! Double quote \" Hash (number) \#
%% Dollar \$ Percent \% Ampersand \&
%% Acute accent \' Left paren \( Right paren \)
%% Asterisk \* Plus \+ Comma \,
%% Minus \- Point \. Solidus \/
%% Colon \: Semicolon \; Less than \<
%% Equals \= Greater than \> Question mark \?
%% Commercial at \@ Left bracket \[ Backslash \\
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
\typeout{Document Style 'Artikel3'. Version <\styleversion>, <\styledate>}
%
% This style uses a new layout for the table of contents,
% but in order to maintain compatibility with article.sty
% we supply an extra option: oldtoc.
% If this option is specified the switch \if@oldtoc will be set true
%
\newif\if@oldtoc \def\ds@oldtoc{\@oldtoctrue}
%
% The default placement for the title (produced by \maketitle)
% is flush left. For people who prefer the article-placement
% the option titlecentered is provided.
%
\newif\if@titlecentered \def\ds@titlecentered{\@titlecenteredtrue}
%
% There used to exist a 'sober.sty'. The following
% statemement prevents that file from being loaded
% on top of this style
%
\def\ds@sober{}
% CHOOSING THE TYPE SIZE:
%
% The type size option is handled by reading a different file for each
% size, as follows:
% 10pt : NTG10, 11pt : NTG11, 12pt : NTG12
% Implemented by \def'ing \@ptsize to last digit of file name.
%
\def\@ptsize{0} % Default is NTG10.STY
\@namedef{ds@10pt}{} % Included for completeness
\@namedef{ds@11pt}{\def\@ptsize{1}} % 11pt option reads in NTG11.STY
\@namedef{ds@12pt}{\def\@ptsize{2}} % 12pt option reads in NTG12.STY
%
% Two-side or one-side printing.
% \@twosidefalse % Default is one-sided printing.
\def\ds@twoside{\@twosidetrue % Defines twoside option.
\@mparswitchtrue} % Marginpars go on outside of page.
% draft option
%
% \overfullrule = 0pt % Default is don't mark overfull hboxes.
\def\ds@draft{\overfullrule 5pt} % Causes overfull hboxes to be marked.
% FMi 91/03/30: made titlepag.sty a file and titlepage an option.
% FMi 91/03/30: made twocolum.sty a file and twocolumn an option.
% jRmS 92/01/10: moved actual reading of titlepag.sty
% to the end of this file.
\newif\if@titlepage \@titlepagefalse
\def\ds@titlepage{\@titlepagetrue}
% RmS 91/10/15: moved actual reading of twocolumn.sty
% to the end of this file.
%\def\ds@twocolumn{\@@input twocolum.sty\relax}
\def\ds@twocolumn{\@twocolumntrue}
%
% The \@options command causes the execution of every command \ds@FOO
% which is defined and for which the user typed the FOO option in his
% \documentstyle command. For every option BAR he typed for which
% \ds@BAR is not defined, the file BAR.sty will be read after the
% present (main) .STY file is executed.
%
\@options
% Now load the point size option file
\input ntg1\@ptsize.sty\relax
% ****************************************
% * LISTS *
% ****************************************
%
% ENUMERATE
% Enumeration is done with four counters: enumi, enumii, enumiii
% and enumiv, where enumN controls the numbering of the Nth level
% enumeration. The label is generated by the commands \labelenumi
% ... \labelenumiv. The expansion of \p@enumN\theenumN defines the
% output of a \ref command.
%
% 16 Mar 88 -- changed defs of \labelenum... to use \theenum...
%
\def\labelenumi{\theenumi.}
\def\theenumi{\arabic{enumi}}
%
\def\labelenumii{(\theenumii)}
\def\theenumii{\alph{enumii}}
\def\p@enumii{\theenumi}
%
\def\labelenumiii{\theenumiii.}
\def\theenumiii{\roman{enumiii}}
\def\p@enumiii{\theenumi(\theenumii)}
%
\def\labelenumiv{\theenumiv.}
\def\theenumiv{\Alph{enumiv}}
\def\p@enumiv{\p@enumiii\theenumiii}
%
% ITEMIZE
% Itemization is controlled by four commands: \labelitemi, \labelitemii,
% \labelitemiii, and \labelitemiv, which define the labels of the various
% itemization levels.
%
\def\labelitemi{$\m@th\bullet$}
\def\labelitemii{\bf --}
\def\labelitemiii{$\m@th\ast$}
\def\labelitemiv{$\m@th\cdot$}
%
% VERSE
% The verse environment is defined by making clever use of the
% list environment's parameters. The user types \\ to end a line.
% This is implemented by \let'in \\ equal \@centercr.
%
\def\verse{\let\\=\@centercr
\list{}{\itemsep\z@ \itemindent -1.5em\listparindent \itemindent
\rightmargin\leftmargin\advance\leftmargin 1.5em}\item[]}
\let\endverse\endlist
%
% QUOTATION
% Fills lines
% Indents paragraph
%
\def\quotation{\list{}{\listparindent \z@ % this was: 1.5em
\itemindent\listparindent
\rightmargin\leftmargin \parsep \z@ plus \p@}\item[]}
\let\endquotation=\endlist
%
% QUOTE -- same as quotation except no paragraph indentation,
%
\def\quote{\list{}{\rightmargin\leftmargin}\item[]}
\let\endquote=\endlist
%
% DESCRIPTION
%
% To change the formatting of the label, you must redefine
% \descriptionlabel.
%
\def\descriptionlabel#1{\hspace\labelsep \bf #1}
\def\description{\list{}{\labelwidth\z@ \itemindent-\leftmargin
\let\makelabel\descriptionlabel}}
\let\enddescription\endlist
%
%\newdimen\descriptionmargin
%\descriptionmargin=3em
%
% ****************************************
% * OTHER ENVIRONMENTS *
% ****************************************
%
%
% THEOREM
% \@begintheorem ... \@endtheorem are the commands executed at the
% beginning and end of a (user-defined) theorem-like environment.
% Except \@opargbegintheorem is executed when an optional argument is
% given. Cf. LATEX.TEX.
%
% \def\@begintheorem#1#2{\it \trivlist
% \item[\hskip \labelsep{\bf #1\ #2}]}
% \def\@opargbegintheorem#1#2#3{\it \trivlist
% \item[\hskip \labelsep{\bf #1\ #2\ (#3)}]}
% \def\@endtheorem{\endtrivlist}
%
%
% Adaption of these commands to an environment with non-zero \parskip:
% Several repairs to the theorem environments.
\def\@begintheorem#1#2{\vskip\baselineskip \sl \labelsep=.5em
\trivlist \item[\hskip\labelsep{\reset@font\bf #1\ #2}]}
\def\@endtheorem{\endtrivlist \vskip\baselineskip}
%
%
% EQUATION and EQNARRAY
%
% \newcounter{equation}
% Default is for left-hand side of equations to be flushleft.
% To make them flushright, do:
% \let\@eqnsel = \hfil
%
\def\theequation{\arabic{equation}}
%
% \jot = 3pt % Extra space added between lines of an eqnarray
% environment
% The macro \@eqnnum defines how equation numbers are to appear in equations.
%
% \def\@eqnnum{(\theequation)}
%
%%
% Page styles
% Several commands (\index, \maketitle) give a \thispagestyle{plain}
% command, which will overrule a \pagestyle{empty} command.
% This situation is almost always unwanted.
%
% This is the old \thispagestyle:
\def\Thispagestyle#1{\global\@specialpagetrue\gdef\@specialstyle{#1}}
% And this is the careful one:
\def\@emptypagestyle{empty}
\def\pagestyle#1{\@nameuse{ps@#1}\def\@currentpagestyle{#1}}
\def\thispagestyle#1{\ifx\@currentpagestyle\@emptypagestyle
\else \global\@specialpagetrue\gdef\@specialstyle{#1}\fi}
% TITLEPAGE
% In the normal environments, the titlepage environment does nothing
% but start and end a page, and inhibit page numbers. It also resets
% the page number to zero.
%
\def\titlepage{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
\else \newpage \fi \thispagestyle{empty}\c@page\z@}
%
\def\endtitlepage{\if@restonecol\twocolumn \else \newpage \fi}
%
% ARRAY AND TABULAR
%
\arraycolsep 5pt % Half the space between columns in an array environment.
\tabcolsep 6pt % Half the space between columns in a tabular environment.
\arrayrulewidth .4pt % Width of rules in array and tabular environment.
\doublerulesep 2pt % Space between adjacent rules in array or tabular env.
%
% TABBING
%
\tabbingsep \labelsep % Space used by the \' command. (See LaTeX manual.)
%
% MINIPAGE
% \@minipagerestore is called upon entry to a minipage environment to
% set up things that are to be handled differently inside a minipage
% environment. In the this style, it makes \parindent equal to \unitindent
%
\def\@minipagerestore
{\parskip=.5\baselineskip plus .1\baselineskip
minus .1\baselineskip}
%
% \skip\@mpfootins : plays same role for footnotes in a minipage as
% \skip\footins does for ordinary footnotes
\skip\@mpfootins = \skip\footins
%
% FRAMEBOX
%
\fboxsep = 3pt % Space left between box and text by \fbox and \framebox.
\fboxrule = .4pt % Width of rules in box made by \fbox and \framebox.
%
% ****************************************
% * SECTIONS *
% ****************************************
%
% DEFINE COUNTERS:
%
% \newcounter{NEWCTR}[OLDCTR] : Defines NEWCTR to be a counter, which is
% reset to zero when counter OLDCTR is stepped.
% Counter OLDCTR must already be defined.
\newcounter{part}
\newcounter {section}
\newcounter {subsection}[section]
\newcounter {subsubsection}[subsection]
\newcounter {paragraph}[subsubsection]
\newcounter {subparagraph}[paragraph]
%
% For any counter CTR, \theCTR is a macro that defines the printed
% version of counter CTR. It is defined in terms of the following
% macros:
%
% \arabic{COUNTER} : The value of COUNTER printed as an arabic numeral.
% \roman{COUNTER} : Its value printed as a lower-case roman numberal.
% \Roman{COUNTER} : Its value printed as an upper-case roman numberal.
% \alph{COUNTER} : Value of COUNTER printed as a lower-case letter:
% 1 = a, 2 = b, etc.
% \Alph{COUNTER} : Value of COUNTER printed as an upper-case letter:
% 1 = A, 2 = B, etc.
%
\def\thepart {\Roman{part}} % Roman numeral part numbers.
\def\thesection {\arabic{section}}
\def\thesubsection {\thesection.\arabic{subsection}}
\def\thesubsubsection {\thesubsection .\arabic{subsubsection}}
\def\theparagraph {\thesubsubsection.\arabic{paragraph}}
\def\thesubparagraph {\theparagraph.\arabic{subparagraph}}
%
% ****************************************
% * TABLE OF CONTENTS, ETC. *
% ****************************************
%
% A \subsection command writes a
% \contentsline{subsection}{TITLE}{PAGE}
% command on the .toc file, where TITLE contains the contents of the
% entry and PAGE is the page number. If subsections are being numbered,
% then TITLE will be of the form
% \numberline{NUM}{HEADING}
% where NUM is the number produced by \thesubsection. Other sectioning
% commands work similarly.
%
% A \caption command in a 'figure' environment writes
% \contentsline{figure}{\numberline{NUM}{CAPTION}}{PAGE}
% on the .lof file, where NUM is the number produced by \thefigure and
% CAPTION is the figure caption. It works similarly for a 'table'
% environment.
%
% The command \contentsline{NAME} expands to \l@NAME. So, to specify
% the table of contents, we must define \l@section,
% \l@subsection, ... ; to specify the list of figures, we must define
% \l@figure; and so on. Most of these can be defined with the
% \@dottedtocline command, which works as follows.
%
% \@dottedtocline{LEVEL}{INDENT}{NUMWIDTH}{TITLE}{PAGE}
% LEVEL : An entry is produced only if LEVEL < or = value of
% 'tocdepth' counter. Note that \section is level 1,
% \subsection is level 2, etc.
% INDENT : The indentation from the outer left margin of the start
% of the contents line.
% NUMWIDTH : The width of a box in which the section number is to go,
% if TITLE includes a \numberline command.
%
% This command uses the following three parameters, which are set
% with a \def (so em's can be used to make them depend upon the font).
% \@pnumwidth : The width of a box in which the page number is put.
% \@tocrmarg : The right margin for multiple line entries. One
% wants \@tocrmarg > or = \@pnumwidth
% \@dotsep : Separation between dots, in mu units. Should be
% \def'd to a number like 2 or 1.7
\def\@pnumwidth{1.55em}
\def\@tocrmarg {2.55em}
\def\@dotsep{4.5}
\setcounter{tocdepth}{3}
%
% An alternative for \@dottedtocline is the \@regtocline command,
% which works as follows.
%
% \@regtocline{LEVEL}{TITLE}{PAGE}
% LEVEL : An entry is produced only if LEVEL < or = value of
% 'tocdepth' counter. Note that \section is level 1,
% \subsection is level 2, etc.
%
%
% TABLEOFCONTENTS
%
% The following macros all have been adapted to a multilingual situation,
% the hardcoded texts have been replaced by macros like \contentsname
%
\def\tableofcontents{\section*{\contentsname
\@mkboth{\uppercase{\contentsname}}{\uppercase{\contentsname}}}%
\@starttoc{toc}}
%
% LIST OF FIGURES
%
\def\listoffigures{\section*{\listfigurename
\@mkboth{\uppercase{\listfigurename}}{\uppercase{\listfigurename}}}%
\@starttoc{lof}}
%
% LIST OF TABLES
%
\def\listoftables{\section*{\listtablename
\@mkboth{\uppercase{\listtablename}}{\uppercase{\listtablename}}}%
\@starttoc{lot}}
%
%
% The macro \@starttoc from LaTeX.tex has to adapted because we want the
% \parskip to be zero inside the table of contents.
%
\def\@starttoc#1{\begingroup
\makeatletter \parskip\z@
\@input{\jobname.#1}\if@filesw \expandafter\newwrite\csname tf@#1\endcsname
\openout \csname tf@#1\endcsname \jobname.#1\relax
\fi \global\@nobreakfalse \endgroup}
%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%% table of contents %%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% In LaTeX v2.09 <1 december 1991> a macro \reset@font was introduced for
% compatibility with the NFSS. In LaTeX.tex it is defined as
% \def\reset@font{}
% but this definition will be replaced when the NFSS is loaded
% into the format.
% To remain backwards compatible we check for the existence of \reset@font
% and make sure it exists.
%
\ifx\undefined\reset@font \def\reset@font{}\fi
%
% This is the definition taken from latex.tex version 1 Dec 1991
% and later. Included for compatibility with older versions of LaTeX
%% RmS 91/09/29: added \reset@font for page number
\def\@dottedtocline#1#2#3#4#5{\ifnum #1>\c@tocdepth \else
\vskip \z@ plus.2\p@
{\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
\parindent #2\relax\@afterindenttrue
\interlinepenalty\@M
\leavevmode
\@tempdima #3\relax \advance\leftskip \@tempdima \hbox{}\hskip -\leftskip
#4\nobreak\leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep
mu$}\hfill \nobreak
\hbox to\@pnumwidth{\hfil\reset@font\rm #5}\par}\fi}
%
% For the new layout we have defined a new macro,
% adapted from \@dottedtocline, \@regtocline
% The parameters are 1: depth, 2: head, 3: page.
\def\@regtocline#1#2#3{\ifnum #1>\c@tocdepth \else
\vskip \z@ plus .2pt
{\hangindent\z@ \@afterindenttrue \interlinepenalty\@M
\leftskip\unitindent % this used to be \z@
\rightskip=\unitindent plus 1fil
\parfillskip=0cm
\@tempdima=\unitindent \parindent\z@ \leavevmode
\hbox{}\hskip -\leftskip#2\nobreak % the box and backskip have been added
\hskip 1em \nobreak{\sl #3}\par
}\fi}
% more recent definition, works better with old toc
\def\numberline#1{\hbox to\@tempdima{#1\hfil}}
% The following conditional defines either the old macros
% or the new ones. No generic styles here!
\if@oldtoc
\def\l@part#1#2{\addpenalty{\@secpenalty}
\addvspace{2.25em plus \p@}% % space above part line
\begingroup
\@tempdima 3em % width of box holding part number, used by
\parindent \z@ \rightskip \@pnumwidth %% \numberline
\leftskip\@tempdima
\parfillskip -\@pnumwidth
{\large \bf % set line in \large boldface
\leavevmode % TeX command to enter horizontal mode.
\hbox{}\hskip-\@tempdima\relax
#1\hfil \hbox to\@pnumwidth{\hss #2}}\par
\nobreak % Never break after part entry
\endgroup}
\def\l@section#1#2{\addpenalty{\@secpenalty} \addvspace{1.0em plus 1\p@}
\@tempdima 1.5em \begingroup
\parindent \z@ \rightskip \@pnumwidth \leftskip\@tempdima
\parfillskip -\@pnumwidth
\bf % Boldface.
\leavevmode % TeX command to enter horizontal mode.
\hbox{}\hskip-\@tempdima\relax
#1\nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss #2}\par
\endgroup}
\def\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
\def\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
\def\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
\def\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
\def\toc@font#1{\relax} %V for completeness.
\def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
\let\l@table\l@figure
\else
\def\l@section{\@regtocline{1}}
\def\l@subsection{\@regtocline{2}}
\def\l@subsubsection{\@regtocline{3}}
\def\l@paragraph{\@regtocline{4}}
\def\l@subparagraph{\@regtocline{5}}
\def\l@part{\addpenalty{\@secpenalty}
\addvspace{2.25em plus 1pt}\@regtocline{0}}
\def\toc@font#1{\ifcase#1\relax\or\bf \or\sl \or\rm\fi}
\def\l@figure{\@regtocline{1}}
\let\l@table\l@figure
\fi
%
% ****************************************
% * BIBLIOGRAPHY *
% ****************************************
%
% The thebibliography environment executes the following commands:
%
% \def\newblock{\hskip .11em plus .33em minus .07em} --
% Defines the `closed' format, where the blocks (major units of
% information) of an entry run together.
%
% \sloppy -- Used because it's rather hard to do line breaks in
% bibliographies,
%
% \sfcode`\.=1000\relax --
% Causes a `.' (period) not to produce an end-of-sentence space.
%% RmS 91/10/27 [ .. ] replaced by \@biblabel{ .. }
%% RmS 91/11/13: Changed counter enumi to enumiv,
%% as it says in the comment in latex.tex
%% RmS 92/01/14: Set \p@enumiv to {} and \theenumiv to \arabic{enumiv}
%% to get correct references
\def\thebibliography#1{\section*{\refname\@mkboth
{\uppercase{\refname}}{\uppercase{\refname}}}\list
{\@biblabel{\arabic{enumiv}}}{\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\usecounter{enumiv}\let\p@enumiv\@empty
\def\theenumiv{\arabic{enumiv}}}%
\def\newblock{\hskip 0.11em plus 0.33em minus 0.07em}
\sloppy\clubpenalty4000\widowpenalty4000
\sfcode`\.=1000\relax}
%
%% 91/08/26 FMI & RmS: introduced warning instead of error
\def\endthebibliography{%
\def\@noitemerr{\@warning{Empty `thebibliography' environment}}%
\endlist}
% In LaTeX v2.09 <1 december 1991> the bibliography environment was modified
% to use the counter enumiv instead of enumi. This change has lead to a
% number of `unexpected' secondary changes. To remain compatible with
% older versions of LaTeX we include the definition of \@bibitem here
% as it can be found in LaTeX.tex v2.09 <14 January 1992>
%
\def\@bibitem#1{\item\if@filesw \immediate\write\@auxout
{\string\bibcite{#1}{\the\value{\@listctr}}}\fi\ignorespaces}
%
% \def\@biblabel#1{[#1]\hfill} % Produces the label for a \bibitem[...]
% command.
% \def\@cite#1{[#1]} % Produces the output of the \cite command.
%
% ****************************************
% * THE INDEX *
% ****************************************
%
% THE THEINDEX ENVIRONMENT
% Produces double column format, with each paragraph a separate entry.
% The user commands \item, \subitem and \subsubitem are used to
% produce the entries, and \indexspace adds an extra vertical space
% that's the right size to put above the first entry with a new letter
% of the alphabet.
%
\newif\if@restonecol
%
\def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
\columnseprule \z@
\columnsep 35pt\twocolumn[\section*{\indexname}]%
\@mkboth{\uppercase{\indexname}}{\uppercase{\indexname}}%
\thispagestyle{plain}\parindent\z@
\parskip\z@ plus.3pt\relax\let\item\@idxitem}
%
\def\@idxitem{\par\hangindent 40pt}
%
\def\subitem{\par\hangindent 40pt \hspace*{20pt}}
%
\def\subsubitem{\par\hangindent 40pt \hspace*{30pt}}
%
\def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi}
%
\def\indexspace{\par \vskip 10pt plus 5pt minus 3pt\relax}
%
% ****************************************
% * FOOTNOTES *
% ****************************************
%
% \footnoterule is a macro to draw the rule separating the footnotes
% from the text. It should take zero vertical space, so it needs a
% negative skip to compensate for any positive space taken by the rule.
% (See PLAIN.TEX.)
%
\def\footnoterule{\kern-3\p@\kern.5\baselineskip
\hrule width \unitindent
% old: \kern 2.6\p@} % The \hrule has default height of .4pt .
% This new kern may have to be incorporated in the skip of the
% \footnoterule above.
\kern.4\baselineskip}
%
% \newcounter{footnote}
% The numbering style (arabic, alph, etc.) for ordinary footnotes
% is defined by the macro \thefootnote.
%
% \@makefntext{NOTE} :
% Must produce the actual footnote, using \@thefnmark as the mark
% of the footnote and NOTE as the text. It is called when
% effectively inside a \parbox of width \columnwidth (i.e., with
% \hsize = \columnwidth).
%
% The following macro indents all lines of the footnote by 10pt, and
% indents the first line of a new paragraph by 1em. To change these
% dimensions, just substitute the desired value for '10pt' [in both
% places] or '1em'. The mark is flushright against the footnote.
% \long\def\@makefntext#1{\@setpar{\@@par\@tempdima \hsize
% \advance\@tempdima-10pt\parshape \@ne 10pt \@tempdima}\par
% \parindent 1em\noindent \hbox to \z@{\hss$^{\@thefnmark}$}#1}
%
% A simpler macro is used, in which the footnote text is
% set like an ordinary text paragraph, with no indentation except
% on the first line of a paragraph, and the first line of the
% footnote. Thus, all the macro must do is set \parindent
% to the appropriate value for succeeding paragraphs and put the
% proper indentation before mark.
%
% The footnotemark is set flushleft in a \hbox with width .5 * \unitindent;
% it is not raised; the width of the box is adaptive.
% A slightly different form is needed in the title (raised fn symbols),
% so we make a general macro.
%
\long\def\@xmakefntext#1#2{\parindent=\z@
\def\labelitemi{--}\@revlabeltrue
{\setbox0=\hbox {#1.\hskip.5em plus 1fil}
\dimen0=2\wd0
\ifdim\dimen0>\unitindent \global\unitindent=\dimen0
\@indentset \fi}
\leavevmode\hbox to .5\unitindent{#1.\hfil}#2}
\def\@makefntext{\@xmakefntext{$\m@th\@thefnmark$}}
% \@makefnmark : A macro to generate the footnote marker that goes
% in the text. Default definition used.
%
% ****************************************
% * FIGURES AND TABLES *
% ****************************************
%
% Float placement parameters. See LaTeX manual for their definition.
%
\setcounter{topnumber}{2}
\def\topfraction{.7}
\setcounter{bottomnumber}{1}
\def\bottomfraction{.3}
\setcounter{totalnumber}{3}
\def\textfraction{.2}
\def\floatpagefraction{.5}
\setcounter{dbltopnumber}{2}
\def\dbltopfraction{.7}
\def\dblfloatpagefraction{.5}
%
% \@makecaption{NUMBER}{TEXT} : Macro to make a figure or table caption.
% NUMBER : Figure or table number--e.g., 'Figure 3.2'
% TEXT : The caption text.
% Macro should be called inside a \parbox of right width, with
% \normalsize.
% changed 25 Jun 86 to fix according to Howard Trickey:
% instead of \unhbox\@tempboxa\par we do #1: #2\par
%
\long\def\@makecaption#1#2{
\vskip 10\p@
\setbox\@tempboxa\hbox{#1: #2}
\ifdim \wd\@tempboxa >\hsize % IF longer than one line:
#1: #2\par % THEN set as ordinary paragraph.
\else % ELSE center.
\hbox to\hsize{\hfil\box\@tempboxa\hfil}%
\fi}
%
% To define a float of type TYPE (e.g., TYPE = figure), the document
% style must define the following.
%
% \fps@TYPE : The default placement specifier for floats of type TYPE.
%
% \ftype@TYPE : The type number for floats of type TYPE. Each TYPE has
% associated a unique positive TYPE NUMBER, which is a power
% of two. E.g., figures might have type number 1, tables
% type number 2, programs type number 4, etc.
%
% \ext@TYPE : The file extension indicating the file on which the
% contents list for float type TYPE is stored. For
% example, \ext@figure = 'lof'.
%
% \fnum@TYPE : A macro to generate the figure number for a caption.
% For example, \fnum@TYPE == Figure \thefigure.
%
% The actual float-making environment commands--e.g., the commands
% \figure and \endfigure--are defined in terms of the macros \@float
% and \end@float, which are described below.
%
% \@float{TYPE}[PLACEMENT] : Macro to begin a float environment for a
% single-column float of type TYPE with PLACEMENT as the placement
% specifier. The default value of PLACEMENT is defined by \fps@TYPE.
% The environment is ended by \end@float.
% E.g., \figure == \@float{figure}, \endfigure == \end@float.
%
\newcounter{figure}
\def\thefigure{\@arabic\c@figure}
\def\fps@figure{tbp}
\def\ftype@figure{1}
\def\ext@figure{lof}
\def\fnum@figure{\figurename~\thefigure}
\def\figure{\@float{figure}}
\let\endfigure\end@float
\@namedef{figure*}{\@dblfloat{figure}}
\@namedef{endfigure*}{\end@dblfloat}
%
% TABLE
%
\newcounter{table}
\def\thetable{\@arabic\c@table}
\def\fps@table{tbp}
\def\ftype@table{2}
\def\ext@table{lot}
\def\fnum@table{\tablename~\thetable}
\def\table{\@float{table}}
\let\endtable\end@float
\@namedef{table*}{\@dblfloat{table}}
\@namedef{endtable*}{\end@dblfloat}
%
% ****************************************
% * TITLE AND ABSTRACT *
% ****************************************
%
% \maketitle ==
% BEGIN
% \par
% \begingroup
% redefine \@makefnmark so footnote marks take zero space (this
% makes centering look better)
% \thefootnote == \fnsymbol{footnote} % to number by *, dagger, etc.
% if @twocolumn = true
% then \twocolumn[\@maketitle]
% else \@maketitle
% fi
% \thispagestyle{plain}
% \@thanks % \thanks defines \@thanks to have \footnotetext commands
% % for producing footnotes.
% \endgroup
% END
\def\maketitle{\par
\begingroup
\def\thefootnote{\fnsymbol{footnote}}%
\def\@makefnmark{\hbox to \z@{$\m@th^{\@thefnmark}$\hss}}
\def\@makefntext{\@xmakefntext{$\m@th^{\@thefnmark}$}}%
\if@twocolumn
\twocolumn[\@maketitle]
\else \newpage
\global\@topnum\z@ % Prevents figures from going at top of page.
\@maketitle \fi\thispagestyle{plain}\@thanks
\endgroup
\setcounter{footnote}{0}%
\let\maketitle\relax
\let\@maketitle\relax
\gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
% JLB 92/02/06 added \head@style to definition of \@maketitle
\def\@maketitle{\newpage
\null
\vskip 2em % Vertical space above title.
\if@titlecentered
\begin{center}
% JLB 92/08/25 added \head@style
% JLB 94/04/04 removed \head@style, replaced it by part of its
% definition.
{\LARGE \bf
\interlinepenalty \@M
\hyphenpenalty=\@M \exhyphenpenalty=\@M
\@title \par}% % Title set in \LARGE size.
\vskip 1.5em % Vertical space after title.
{\large \bf % each author set in \large\bf, in a
\lineskip .5em % tabular environment
\begin{tabular}[t]{c}\@author
\end{tabular}\par}%
\vskip 1em % Vertical space after author.
{\large \bf \@date}% % Date set in \large size.
\end{center}%
\else
{\LARGE \bf \head@style \@title \par} \vskip 1.5em
{\large \bf \lineskip .5em \tabcolsep\z@
\def\and{%%% \begin{tabular} has already started
\end{tabular}\hskip 1em plus .17fil
\begin{tabular}[t]{l}}%% \end{tabular} will come
\begin{tabular}[t]{l}\@author\end{tabular}\par}
\vskip 1em {\large \bf \@date}
\fi
\par
\vskip 1.5em} % Vertical space after date.
% Abstracts are left aligned.
\def\abstract{\if@twocolumn
\section*{\abstractname}%
\else \small
\bgroup\rightskip=\unitindent
\hbox{\bf \abstractname}\noindent\ignorespaces
\fi}
\def\endabstract{\if@twocolumn\else\par\egroup\fi}
%
% ****************************************
% * PAGE STYLES *
% ****************************************
%
% The page style 'foo' is defined by defining the command \ps@foo. This
% command should make only local definitions. There should be no stray
% spaces in the definition, since they could lead to mysterious extra
% spaces in the output.
%
% The \ps@... command defines the macros \@oddhead, \@oddfoot,
% \@evenhead, and \@evenfoot to define the running heads and
% feet---e.g., \@oddhead is the macro to produce the contents of the
% heading box for odd-numbered pages. It is called inside an \hbox of
% width \textwidth.
%
% To make headings determined by the sectioning commands, the page style
% defines the commands \sectionmark, ... , where
% \sectionmark{TEXT} is called by \section to set a mark, and so on.
% The \...mark commands and the \...head macros are defined with the
% help of the following macros. (All the \...mark commands should be
% initialized to no-ops.)
%
% MARKING CONVENTIONS:
% LaTeX extends TeX's \mark facility by producing two kinds of marks
% a 'left' and a 'right' mark, using the following commands:
% \markboth{LEFT}{RIGHT} : Adds both marks.
% \markright{RIGHT} : Adds a 'right' mark.
% \leftmark : Used in the \@oddhead, \@oddfoot, \@evenhead or
% \@evenfoot macro, gets the current 'left' mark.
% Works like TeX's \botmark command.
% \rightmark : Used in the \@oddhead, \@oddfoot, \@evenhead or
% \@evenfoot macro, gets the current 'right' mark.
% Works like TeX's \firstmark command.
% The marking commands work reasonably well for right marks 'numbered
% within' left marks--e.g., the left mark is changed by a \section
% command and the right mark is changed by a \subsection command.
% However, it does produce somewhat anomalous results if two \bothmark's
% occur on the same page.
%
% Commands like \tableofcontents that should set the marks in some page
% styles use a \@mkboth command, which is \let by the pagestyle command
% (\ps@...) to \markboth for setting the heading or \@gobbletwo to do
% nothing.
%
% first some old stuff
\mark{{}{}} % Initializes TeX's marks
%
% \ps@empty and \ps@plain defined in LATEX.TEX
%
% Definition of 'headings' page style
% Note the use of ##1 for parameter of \def\sectionmark inside the
% \def\ps@headings.
%
% 91/03/26 FMi: Added extra set of braces arround |\sl| in |\@oddhead|
% to support NFSS (|\sl| is a shape |\rm| a family). Also remove
% unnecessary |\hbox{}| commands.
%
\if@twoside % If two-sided printing.
\def\ps@headings{\let\@mkboth\markboth
\def\@oddfoot{}\def\@evenfoot{}% No feet.
\def\@evenhead{\rm\thepage\hfil \sl \leftmark}% Left heading
\def\@oddhead{{\sl \rightmark} \hfil \rm\thepage}% Right heading
\def\sectionmark##1{\markboth {\uppercase{\ifnum \c@secnumdepth >\z@
\thesection\hskip 1em\relax \fi ##1}}{}}%
\def\subsectionmark##1{\markright
{\ifnum \c@secnumdepth >\@ne
\thesubsection\hskip 1em\relax \fi ##1}}}
\else % If one-sided printing.
\def\ps@headings{\let\@mkboth\markboth
\def\@oddfoot{}\def\@evenfoot{}% No feet
\def\@oddhead{{\sl \rightmark} \hfil \rm\thepage}% Heading
\def\sectionmark##1{\markright
{\uppercase{\ifnum \c@secnumdepth >\z@
\thesection\hskip 1em\relax \fi ##1}}}}
\fi
%
% Definition of 'myheadings' page style.
%
\def\ps@myheadings{\let\@mkboth\@gobbletwo
\def\@oddhead{{\sl\rightmark} \hfil\rm\thepage}%
\def\@oddfoot{}%
\def\@evenhead{\rm \thepage\hfil\sl\leftmark}%
\def\@evenfoot{}%
\def\sectionmark##1{}\def\subsectionmark##1{}}
% The plain pagestyle has been altered to have pagenumbers
% - flushright if onesided
% - flush left and right if twosided.
\def\ps@plain{\let\@mkboth\@gobbletwo
\def\@oddhead{}\def\@evenhead{}%
\def\@oddfoot{\rm\hfil\thepage}%
\if@twoside\def\@evenfoot{\rm\thepage\hfil}%
\else\let\@evenfoot\@oddfoot\fi}
% ****************************************
% * From ARTnn.sty *
% ****************************************
%
% The following chunk of code appeared identically in art10,11,12.sty
%
% ****************************************
% * PARAGRAPHING *
% ****************************************
%
\parskip \z@ % Extra vertical space between paragraphs.
\topsep \z@ % Extra vertical space, in addition to
% \parskip, added above and below list and
% paragraphing environments.
\partopsep \z@ % Extra vertical space, in addition to
% \parskip and \topsep, added when user
% leaves blank line before environment.
%\itemsep 4pt plus 2pt minus 1pt % Extra vertical space, in addition to
% \parskip, added between list items.
% See \@listI for values of \topsep and \itemsep
% (Change made 9 Jun 87)
%
% The following page-breaking penalties are defined
\@lowpenalty 51 % Produced by \nopagebreak[1] or \nolinebreak[1]
\@medpenalty 151 % Produced by \nopagebreak[2] or \nolinebreak[2]
\@highpenalty 301 % Produced by \nopagebreak[3] or \nolinebreak[3]
\@beginparpenalty -\@lowpenalty % Before a list or paragraph environment.
\@endparpenalty -\@lowpenalty % After a list or paragraph environment.
\@itempenalty -\@lowpenalty % Between list items.
% \clubpenalty % 'Club line' at bottom of page.
% \widowpenalty % 'Widow line' at top of page.
% \displaywidowpenalty % Math display widow line.
% \predisplaypenalty % Breaking before a math display.
% \postdisplaypenalty % Breaking after a math display.
% \interlinepenalty % Breaking at a line within a paragraph.
% \brokenpenalty % Breaking after a hyphenated line.
% ****************************************
% * SECTIONS *
% ****************************************
%
% Section headings are to be set:
% 1/ extremely raggedright, with
% 2/ no hyphenations, not even at explicit hyphens
% The following macro defines the style for that
\def\head@style{\interlinepenalty \@M
\hyphenpenalty=\@M \exhyphenpenalty=\@M
\rightskip=0cm plus .7\hsize\relax}
%
% \secdef{UNSTARCMDS}{STARCMDS} :
% When defining a sectionioning command without using
% \@startsection, you can use \secdef as follows:
% \def\part { ... \secdef \CMDA \CMDB }
% \def\CMDA [#1]#2{ ... } % Command to define \part[...]{...}
% \def\CMDB #1{ ... } % Command to define \part*{...}
\def\part{\par % New paragraph
\addvspace{4ex} % Adds vertical space above title.
\@afterindentfalse % Suppresses indent in first paragraph.
\secdef\@part\@spart} % Change to \@afterindenttrue to have
% indent.
% This @part has some minor changes wrt the one in 'article', see the %NTG
\def\@part[#1]#2{\ifnum \c@secnumdepth >\m@ne % IF secnumdepth > -1
\refstepcounter{part} % THEN step part counter
\addcontentsline{toc}{part}{\thepart % add toc line
\hspace{.5em}#1}\else % ELSE add unnumbered line
\addcontentsline{toc}{part}{#1}\fi % FI
{\head@style \parindent=\unitindent
\ifnum \c@secnumdepth >\m@ne % IF secnumdepth > -1
\Large \bf \noindent
\partname~\thepart % THEN Print 'Part' and
\par \nobreak % number in \Large boldface.
\fi % FI
\Large \bf \noindent % Select \Large boldface.
%NTG \Large & \noindent
#2% % Print title
\markboth{}{}\par % Set heading marks null.
}\nobreak % TeX penalty to prevent page break.
\vskip 3ex % Space between title and text.
\@afterheading % Routine called after part and
} % section heading.
% Heading for \part* command
\def\@spart#1{{\parindent \z@ \head@style
\Large \bf \noindent %NTG see above
#1\par} % Title.
\nobreak % TeX penalty to prevent page break.
\vskip 3ex % Space between title and text.
\@afterheading % Routine called after part and
} % section heading.
%
% \@startsection {NAME}{LEVEL}{INDENT}{BEFORESKIP}{AFTERSKIP}{STYLE}
% optional * [ALTHEADING]{HEADING}
% Generic command to start a section.
% NAME : e.g., 'subsection'
% LEVEL : a number, denoting depth of section -- i.e., section=1,
% subsection = 2, etc. A section number will be printed if
% and only if LEVEL < or = the value of the secnumdepth
% counter.
% INDENT : Indentation of heading from left margin
% BEFORESKIP : Absolute value = skip to leave above the heading.
% If negative, then paragraph indent of text following
% heading is suppressed.
% AFTERSKIP : if positive, then skip to leave below heading,
% else - skip to leave to right of run-in heading.
% STYLE : commands to set style
% If '*' missing, then increments the counter. If it is present, then
% there should be no [ALTHEADING] argument. A sectioning command
% is normally defined to \@startsection + its first six arguments.
%V From ARTn.STY and adapted
%V In section/sub/subsub less white space; smaller fonts
\def\section{\@startsection {section}{1}{\z@}%
{-2\baselineskip plus -1\baselineskip minus -.5\baselineskip}%
{.01\baselineskip}{\large\bf}}
\def\subsection{\@startsection{subsection}{2}{\z@}%
{-1\baselineskip plus -.5\baselineskip minus -.25\baselineskip}%
{.01\baselineskip}{\normalsize\bf}}
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}%
{-1\baselineskip plus -.5\baselineskip minus -.25\baselineskip}%
{.01\baselineskip}{\normalsize\rm}}
\def\paragraph{\@startsection{paragraph}{4}{\z@}%
{3.25ex plus 1ex minus .2ex}{-1em}{\normalsize\sl}}
\def\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
{3.25ex plus 1ex minus .2ex}{-1em}{\normalsize\sl}}
%
% Default initializations of \...mark commands. (See below for their
% us in defining page styles.
%
% \def\sectionmark#1{} % Preloaded definitions
% \def\subsectionmark#1{}
% \def\subsubsectionmark#1{}
% \def\paragraphmark#1{}
% \def\subparagraphmark#1{}
% The value of the counter secnumdepth gives the depth of the
% highest-level sectioning command that is to produce section numbers.
%
\setcounter{secnumdepth}{3}
%
% APPENDIX
%
% The \appendix command must do the following:
% -- reset the section and subsection counters to zero
% -- redefine the section counter to produce appendix numbers
% -- redefine the \section command if appendix titles and headings are
% to look different from section titles and headings.
%
\def\appendix{\par
\setcounter{section}{0}
\setcounter{subsection}{0}
\def\thesection{\Alph{section}}}
%
%
% UNITINDENT
%
%
%
% The dimension \unitindent controls
% - the label width in section heading
% - the \parindent
% - the footnote label indent (= half \unitindent)
% - listindent on the first level
\newdimen\unitindent
% The default setting accomodates three levels of single digit
% section numbering.
{\setbox0\hbox{\normalsize\rm 2.2.2\hskip.5em}
\global\unitindent=\wd0}
% If this is not enough, a new width is calculated, set,
% and the .aux file contains an instruction that will set
% \unitindent on the next run.
\newif\if@needwriteindent
\def\@indentset{%
\global\leftmargini=\unitindent
\global\@needwriteindenttrue}
\def\@writeindent#1{\immediate\write\@mainaux
{\string\@ifundefined{unitindent}{\string\newdimen\string\unitindent
\let\string\@indentset\relax}{}}
\immediate\write\@mainaux{\global\string\unitindent=#1\string\relax
\string\@indentset \string\relax}}
% Other indentations are maximal label width plus white space
\newdimen\othermargin
{\setbox0\hbox{\normalsize (m)\hskip.6em}\global\othermargin=\wd0}
%
% Redefining \enddocument may seem overdone.
% The difference with the original is that I have removed
% the '\def\global#1#2{}' line, and added the 'needwriteindent'.
\def\enddocument{\@checkend{document}%
\clearpage
\begingroup
\if@filesw
\if@needwriteindent\@writeindent{\the\unitindent}\fi
\immediate\closeout\@mainaux
\def\newlabel{\@testdef r}%
\def\bibcite{\@testdef b}\@tempswafalse
\makeatletter\input \jobname.aux
\if@tempswa \@warning{Label(s) may have changed. Rerun to get
cross-references right}
\fi
\fi
\endgroup\deadcycles\z@\@@end}
%
% ****************************************
% * LISTS *
% ****************************************
%
% The following commands are used to set the default values for the list
% environment's parameters. See the LaTeX manual for an explanation of
% the meanings of the parameters. Defaults for the list environment are
% set as follows. First, \rightmargin, \listparindent and \itemindent
% are set to 0pt. Then, for a Kth level list, the command \@listK is
% called, where 'K' denotes 'i', 'ii', ... , 'vi'. (I.e., \@listiii is
% called for a third-level list.) By convention, \@listK should set
% \leftmargin to \leftmarginK.
%
% For efficiency, level-one list's values are defined at top level, and
% \@listi is defined to set only \leftmargin
\leftmargini=\unitindent
\leftmarginii=\othermargin % > \labelsep + width of '(m)'
\leftmarginiii=\othermargin % > \labelsep + width of 'vii.'
\leftmarginiv=\othermargin % > \labelsep + width of 'M.'
\leftmarginv=\othermargin
\leftmarginvi 1em
%%%%%%%%%%%%%%%%%%%%%%%%%%%% lists %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\def\@listi{\leftmargin\unitindent
\labelsep=.5em
\labelwidth=\leftmargin \advance\labelwidth by -\labelsep
\topsep=-.5\parskip plus 1\p@ %V half the amount of white around lists
\parsep \z@ %V defaults added
\itemsep=\z@ plus 1\p@%V defaults added
}
\def\@listii{\leftmargin\leftmarginii \labelsep=.5em
\labelwidth\leftmarginii\advance\labelwidth-\labelsep
\topsep=\z@ plus 1\p@ %V defaults added
\parsep \z@ %V defaults added
\itemsep=\z@ plus 1\p@%V defaults added
}
\def\@listiii{\leftmargin\leftmarginiii \labelsep=.5em
\labelwidth\leftmarginiii\advance\labelwidth-\labelsep
\topsep=\z@ plus 1\p@ %V defaults added
\parsep \z@ %V defaults added
\itemsep=\z@ plus 1\p@%V defaults added
}
\def\@listiv{\leftmargin\leftmarginiv \labelsep=.5em
\labelwidth\leftmarginiv\advance\labelwidth-\labelsep
\topsep=\z@ plus 1\p@ %V defaults added
\parsep \z@ %V defaults added
\itemsep=\z@ plus 1\p@%V defaults added
}
\def\@listv{\leftmargin\leftmarginv \labelsep=.5em
\labelwidth\leftmarginv\advance\labelwidth-\labelsep
\topsep=\z@ plus 1\p@ %V defaults added
\parsep \z@ %V defaults added
\itemsep=\z@ plus 1\p@%V defaults added
}
\def\@listvi{\leftmargin\leftmarginvi \labelsep=.5em
\labelwidth\leftmarginvi\advance\labelwidth-\labelsep
\topsep=\z@ plus 1\p@ %V defaults added
\parsep \z@ %V defaults added
\itemsep=\z@ plus 1\p@%V defaults added
}
%
% ****************************************
% * From LaTeX.tex *
% ****************************************
%
% The macro \@sect has been transplanted from LaTeX.TeX and adapted w.r.t.
% 1/ number width, which is fixed now
% 2/ raggedright text
% 3/ 'contentsline'
\def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth
\let\@svsec\@empty\else
\refstepcounter{#1}%
\begingroup \setbox\@tempboxa=\hbox{#6\relax\csname the#1\endcsname
\hskip.5em}
\ifdim\wd\@tempboxa>\unitindent
\global\unitindent=\wd\@tempboxa \@indentset\fi
\endgroup
\edef\@svsec{\hbox to \unitindent{\csname the#1\endcsname\hfil}}
\fi
\@tempskipa #5\relax
\ifdim \@tempskipa>\z@
\begingroup #6\relax
\@hangfrom{\hskip #3\relax\@svsec}{\head@style #8\par}
\endgroup
\csname #1mark\endcsname{#7}\addcontentsline
{toc}{#1}{\ifnum #2>\c@secnumdepth \else
\protect\numberline{\csname the#1\endcsname}\fi
\toc@font#2 #7}\else
\def\@svsechd{#6\hskip #3\relax\@svsec #8\csname #1mark\endcsname
{#7}\addcontentsline
{toc}{#1}{\ifnum #2>\c@secnumdepth \else
\protect\numberline{\csname the#1\endcsname}\fi
\toc@font#2 #7}}\fi
\@xsect{#5}}
\def\@ssect#1#2#3#4#5{\@tempskipa #3\relax
\ifdim \@tempskipa>\z@
\begingroup #4\relax
\@hangfrom{\hskip #1}{\head@style #5\par}
\endgroup
\else \def\@svsechd{#4\hskip #1\relax #5}\fi
\@xsect{#3}}
%
% In footnotes the label in lists should be positioned differently.
% This conditional controls that behaviour.
\newif\if@revlabel
% Redefinition of \itemize and \enumerate, in order to
% specify a new \makelabel macro.
\def\enumerate{\ifnum \@enumdepth >3 \@toodeep\else
\advance\@enumdepth \@ne
\edef\@enumctr{enum\romannumeral\the\@enumdepth}%
\list{\csname label\@enumctr\endcsname}%
{\usecounter{\@enumctr}%
\if@revlabel
\def\makelabel##1{\hskip .5\unitindent{##1\hfil}}\else
\def\makelabel##1{##1\hfil} %
\fi
}\fi}
\def\itemize{\ifnum \@itemdepth >3 \@toodeep\else
\advance\@itemdepth \@ne
\edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
\list{\csname\@itemitem\endcsname}%
{%
\if@revlabel
\def\makelabel##1{\hskip .5\unitindent{##1\hfil}}\else
\def\makelabel##1{##1\hfil}%
\fi%
}\fi}
% suppress spaces after these list constructs
\def\enditemize{\global\@ignoretrue \endlist}
\def\endenumerate{\global\@ignoretrue \endlist}
%
%%%%%%%%%%%%%%%%%%%%%%%%%% trivlists %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Redefinition of verbatim and center & flushl/r for a different reason:
% we want a bit of surrounding white space
% (which has disappeared with the topsep),
% and we want verbatim indented.
% Maybe this should be disablable, or at least switched off
% in double column mode.
%
% With the introduction of a non-zero \parskip the amount of white space
% around a verbatim environment has become too large.
% Therefore we add a negative \topsep as compensation.
\def\verbatim{\@verbatim \topsep=-.5\parskip
\frenchspacing\@vobeyspaces \@xverbatim}
%
% ****************************************
% * MISCELLANEOUS *
% ****************************************
%
% DATE
%
\def\today{\ifcase\month\or
January\or February\or March\or April\or May\or June\or
July\or August\or September\or October\or November\or December\fi
\space\number\day, \number\year}
%
% EMPHASIS
%
% (suggested by Nico Poppelier -- 28 Aug 89)
%
% \em is defined to be \sl inside an unslanted style and \rm inside a
% slanted style. An \em command in a section title will produce a \pem
% command in the table of contents.
%
\def\em{\protect\pem{}}
\def\pem{\ifdim \fontdimen\@ne\font >\z@ \rm \else \sl \fi}
%
% ****************************************
% * INITIALIZATION *
% ****************************************
%
% Default initializations
\ps@plain % 'plain' page style
\pagenumbering{arabic} % Arabic page numbers
\if@twoside\else\raggedbottom\fi % Ragged bottom unless twoside option.
\if@twocolumn
\@@input twocolum.sty\relax
\else
\onecolumn % Single-column.
\fi
\if@titlepage
\@@input titlepag.sty\relax
\fi
% Added wrt 'article':
\frenchspacing
\footnotesep=\z@
\let\regeltransport=\baselineskip
%
\parskip=.5\baselineskip plus .1\baselineskip minus .1\baselineskip
\parindent=\z@
%
%%%%%%%%%%%%%%%%%%%%% Dutch, German, etc %%%%%%%%%%%%%%%%%%%%%%%%%%%
% we include English parameter settings.
\def\refname{References}
\def\abstractname{Abstract}
\def\bibname{Bibliography}
\def\appendixname{Appendix}
\def\contentsname{Contents}
\def\listfigurename{List of Figures}
\def\listtablename{List of Tables}
\def\indexname{Index}
\def\figurename{Figure}
\def\tablename{Table}
\def\partname{Part}
\endinput